using Lzfy_His_Service.Models;

namespace Lzfy_His_Service.Repositories
{
    public interface IRefundAttachRepository
    {
        Task<RefundAttach?> GetByIdAsync(int id);
        Task<IEnumerable<RefundAttach>> GetByRelIdAsync(string relId);
        Task<IEnumerable<RefundAttach>> GetAllAsync();
        Task<int> CreateAsync(RefundAttach refundAttach);
        Task<bool> UpdateAsync(RefundAttach refundAttach);
        Task<bool> DeleteAsync(int id);
        Task<bool> DeleteByRelIdAsync(string relId);
    }
}